package com.ruoyi.mushcoin.domain;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serial;
import java.util.Date;

/**
 * TG用户对象 tg_user_info
 *
 * @author billy
 * 2024-07-29
 */
@Data
//@EqualsAndHashCode(callSuper = true)
@Table(value = "tg_user_info")
public class TgUserInfo {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @Id
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     *
     */
    private String firstName;

    /**
     *
     */
    private String lastName;

    /**
     *
     */
    private String userName;

    /**
     *
     */
    private String languageCode;

    /**
     *
     */
    private Integer isPremium;
    private Integer isPremiumTg;


    /**
     *
     */
    private String countryCode;

    /**
     *
     */
    private Long mushcoin;

    /**
     *
     */
    private String gameData;

    /**
     *
     */
    private String headerJson;

    /**
     *
     */
    private Long inviteUserId;

    /**
     *
     */
    private Long inviteRewardsTotal;

    /**
     * 交换货币
     */
    private String currencyOfExchange;


    /**
     * 邀请用户数量
     */
    private Long inviteUserCount;


    /**
     * saveGameData游戏保存次数
     */
    private Long saveGameCount;

    private Date vipEndTime;


}
